//1安装pinia npm i pinia
//2导入createPinia包
import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'
//3通过createPinia函数创建一个对象
const pinia = createPinia()
pinia.use(persist)

export default pinia

// 导出子模块
export * from './modules/player'
export * from './modules/tools'
export * from './modules/user'
export * from './modules/animate'
export * from './modules/pop'
export * from './modules/air'
export * from './modules/flynum'
